package com.example.watchs.methods;

import org.springframework.stereotype.Component;

import java.nio.file.Path;

/**
 * @author w
 * @Description:  测试使用
 * @DateTime: 2025 08 11 09:15
 **/
@Component("convert")
public class ConvertMethod extends BaseMethod {

    @Override
    public void OnCreateFile(Path filePath) {
        System.out.println(filePath + "新增文件");
    }

    @Override
    public void OnDelete(Path filePath) {
        System.out.println(filePath + "删除");
    }

    @Override
    public void OnUpdateFile(Path filePath) {
        System.out.println("更新文件" + filePath);
    }

    @Override
    public void OnCreateDir(Path filePath) {
        System.out.println("新建文件夹");
    }

    @Override
    public void OnUpdateDir(Path filePath) {
        System.out.println("更新文件夹");
    }
}